package butines.game.lastcolony.entities;


public class GameCommand {

    private EntityOrders.Type type;
    private int toUID;
    private Float toX;
    private Float toY;

    public GameCommand(EntityOrders.Type type, int toUid) {
        this.type = type;
        this.toUID = toUid;
    }

    public GameCommand(EntityOrders.Type type, float toX, float toY) {
        this.type = type;
        this.toX = toX;
        this.toY = toY;
    }

    public EntityOrders.Type getType() {
        return type;
    }

    public int getToUID() {
        return toUID;
    }

    public Float getToX() {
        return toX;
    }

    public Float getToY() {
        return toY;
    }

}
